package com.framework;

import java.util.ArrayList;

public class DtdMidiFile {
	
	private static final String STRING_DEFAULT = "def.";
	private static final int INT_DEFAULT = -999;
	
	private int format;
	private int trackCount;
	private int ticksPerBeat;
	private String timestampType;
	
	public ArrayList<DtdTrack> tracks = new ArrayList<DtdTrack>();
	
	DtdMidiFile(){
		format = INT_DEFAULT;
		trackCount = INT_DEFAULT;
		ticksPerBeat = INT_DEFAULT;
		timestampType = STRING_DEFAULT;
		
		
	}

	public int getFormat() {
		return format;
	}

	public void setFormat(int format) {
		this.format = format;
	}

	public int getTrackCount() {
		return trackCount;
	}

	public void setTrackCount(int trackCount) {
		this.trackCount = trackCount;
	}

	public int getTicksPerBeat() {
		return ticksPerBeat;
	}

	public void setTicksPerBeat(int ticksPerBeat) {
		this.ticksPerBeat = ticksPerBeat;
	}

	public String getTimestampType() {
		return timestampType;
	}

	public void setTimestampType(String timestampType) {
		this.timestampType = timestampType;
	}
	
	
	

}
